<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>中国美食分布可视化大屏</title>
    <script src="https://api.map.baidu.com/api?type=webgl&v=1.0&ak=Q2NVJyoTAdpPKHfLmqmVfFwAjQOcptHm"></script>
    <link rel="stylesheet" href="css/Second.css">
</head>

<body>
<div class="container">
    <header class="header">
        <div class="logo">🍜 中国美食地图</div>
        <div class="time-display" id="showTime"></div>
        <button onclick="window.location.href='charts_and_video.html'">查看数据统计与视频</button>
    </header>
    <!-- 主地图区域 -->
    <div class="main-map" id="chinaMap">
        <div class="map-title">中国美食分布图 - 点击省份查看详细信息</div>
    </div>
    <!-- 百度地图容器 -->
    <div id="baiduMapContainer"></div>
    <!-- 遮罩层 -->
    <div class="mask" id="mask"></div>
    <!-- 左侧信息框 -->
    <div class="side-info" id="leftInfo">
        <div class="info-header">
            <h3 class="info-title" id="infoTitle">省份美食信息</h3>
            <button class="close-btn" id="closeLeft">×</button>
        </div>
        <div class="info-content" id="leftContent">
            <p>点击地图上的省份查看详细信息</p>
        </div>
    </div>
    <!-- 右侧信息框 -->
    <div class="side-info right" id="rightInfo">
        <div class="info-header">
            <h3 class="info-title" id="rightInfoTitle">代表菜品展示</h3>
            <button class="close-btn" id="closeRight">×</button>
        </div>
        <div class="info-content" id="rightContent">
            <div class="dish-gallery" id="provinceDishes">
                <!-- 菜品图片将动态加载 -->
            </div>
        </div>
    </div>
    <button id="backButton" onclick="showOriginalMap()"><i class="fa fa-arrow-left"></i> 返回原地图</button>
</div>
<script src="js/jquery.js"></script>
<script src="js/echarts.min.js"></script>
<script src="js/china.js"></script>
<script src="js/Sec_index.js"></script>
</body>

</html>